package com.mulan.estatemanagement.service;

import com.github.pagehelper.Page;
import com.mulan.estatemanagement.domain.Community;

import java.util.List;
import java.util.Map;

/**
 * @Auth: xieqihang
 * @Desc:
 */
public interface CommunityService {
    public List<Community> findAll();
    public Page<Community> search(Map searchMap);
    public Boolean add(Community community);
    public Community findById(Integer id);
    public Boolean update(Community community);

    public Boolean updateStatus(String status, Integer id);

    public Boolean del(List<Integer> ids);
}

